<html>
<head>
<title>ThinMVC Documentation: ThinMVC</title>
</head>
<body>
<h3>The ThinMVC Class</h3>
      <p>The ThinMVC Object isn't usually used directly, except for the call that
        root.php makes to it&mdash;it simply handles the request.</p>
      <h3>Methods</h3>
      <p><em>handleRequest( $server, $request, $request_to_handle )</em>- handle
        a request.</p>
      <p><em>callNext()</em>- call the next method or view page down the chain.</p>
			<p><em>error( $error )</em>- show an error.</p>
			<p><em>preContentDisplay( $content )</em>- this does nothing by default, but can be overridden to modify the final page content prior to display.</p>
      <p><em>_logHitStart()</em>- does nothing by default, but can be overridden to log a new request.</p>
      <p><em>_logHitEnd( &$content )</em>- does nothing by default, but can be overriden to log a finished request. The entire content that the end-user will see is passed to this method. Just modify it to modify what the end-user sees.</p>
      <p><em>_init( )</em>- does nothing by default, but can be overriden as needed. This runs just after the object is instantiated.</p>

      <h3>Variables</h3>
      <p><em>$this-&gt;config</em>- the configuration array</p>
      <p><em>$this-&gt;dbh</em>- the database handle (if you are using one)<br>
      </p>

</body>
</html>
